package com.ruoyi.system.domain;

import java.math.BigDecimal;
import java.util.Date;

import io.swagger.annotations.ApiModelProperty;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 工单执行列对象 t_work_order
 * 
 * @author wuym
 * @date 2021-04-24
 */
public class TWorkOrder extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private Long id;
    /** MES工单号 */
    @Excel(name = "MES工单号")
    @ApiModelProperty("MES工单号")
    private String mesNo;

    /** 生产订单号 */
    @Excel(name = "生产订单号")
    @ApiModelProperty("生产订单号")
    private String orderNo;

    /** 生产订单行号 */
    @Excel(name = "生产订单行号")
    @ApiModelProperty("生产订单行号")
    private String orderLine;

    /** 存货编码 */
    @Excel(name = "存货编码")
    @ApiModelProperty("存货编码")
    private String goodNo;

    /** 存货名称 */
    @Excel(name = "存货名称")
    @ApiModelProperty("存货名称")
    private String goodName;

    /** 规格型号 */
    @Excel(name = "规格型号")
    @ApiModelProperty("规格型号")
    private String category;

    /** 工序行号 */
    @Excel(name = "工序行号")
    @ApiModelProperty("工序行号")
    private String workLine;

    /** 工序名称 */
    @Excel(name = "工序名称")
    @ApiModelProperty("工序名称")
    private String workName;

    /** 生产数量 */
    @Excel(name = "生产数量")
    @ApiModelProperty("生产数量")
    private BigDecimal workNum;

    /** 操作人工号 */
    @Excel(name = "操作人工号")
    @ApiModelProperty("操作人工号")
    private String operationNo;

    /** 操作人姓名 */
    @Excel(name = "操作人姓名")
    @ApiModelProperty("操作人姓名")
    private String operationName;

    /** 班组名称 */
    @Excel(name = "班组名称")
    @ApiModelProperty("班组名称")
    private String teamName;

    /** 班长工号 */
    @Excel(name = "班长工号")
    @ApiModelProperty("班长工号")
    private String teamLeader;

    /** 班长姓名 */
    @Excel(name = "班长姓名")
    @ApiModelProperty("班长姓名")
    private String teamLeaderName;
    /** 工单状态 */
    @Excel(name = "工单状态")
    @ApiModelProperty("工单状态")
    private String workStatus;
    /**
     * 客户产品
     */
    @Excel(name = "客户产品")
    @ApiModelProperty("客户产品")
    private String customerProducts;

    /**
     * 客户交期
     */
    @Excel(name = "客户交期")
    @ApiModelProperty("客户交期")
    private Date customerDate;
    /**
     * 计划开工时间
     */
    @Excel(name = "计划开工时间")
    @ApiModelProperty("计划开工时间")
    private Date StartTime_Schedule;
    /**
     * 计划完工时间
     */
    @Excel(name = "计划完工时间")
    @ApiModelProperty("计划完工时间")
    private Date EndTime_Schedule;
    /**
     * 实际开工时间
     */
    @Excel(name = "实际开工时间")
    @ApiModelProperty("实际开工时间")
    private Date StartTime_Actual;
    /**
     * 实际完工时间
     */
    @Excel(name = "实际完工时间")
    @ApiModelProperty("实际完工时间")
    private Date EndTime_Actual;
    //工单状态汇总
    private Integer count;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setOrderNo(String orderNo) 
    {
        this.orderNo = orderNo;
    }

    public String getOrderNo() 
    {
        return orderNo;
    }
    public void setOrderLine(String orderLine) 
    {
        this.orderLine = orderLine;
    }

    public String getOrderLine() 
    {
        return orderLine;
    }
    public void setGoodNo(String goodNo) 
    {
        this.goodNo = goodNo;
    }

    public String getGoodNo() 
    {
        return goodNo;
    }
    public void setGoodName(String goodName) 
    {
        this.goodName = goodName;
    }

    public String getGoodName() 
    {
        return goodName;
    }
    public void setCategory(String category) 
    {
        this.category = category;
    }

    public String getCategory() 
    {
        return category;
    }
    public void setWorkLine(String workLine) 
    {
        this.workLine = workLine;
    }

    public String getWorkLine() 
    {
        return workLine;
    }
    public void setWorkName(String workName) 
    {
        this.workName = workName;
    }

    public String getWorkName() 
    {
        return workName;
    }
    public void setWorkNum(BigDecimal workNum) 
    {
        this.workNum = workNum;
    }

    public BigDecimal getWorkNum() 
    {
        return workNum;
    }
    public void setOperationNo(String operationNo) 
    {
        this.operationNo = operationNo;
    }

    public String getOperationNo() 
    {
        return operationNo;
    }
    public void setOperationName(String operationName) 
    {
        this.operationName = operationName;
    }

    public String getOperationName() 
    {
        return operationName;
    }
    public void setTeamName(String teamName) 
    {
        this.teamName = teamName;
    }

    public String getTeamName() 
    {
        return teamName;
    }
    public void setTeamLeader(String teamLeader) 
    {
        this.teamLeader = teamLeader;
    }

    public String getTeamLeader() 
    {
        return teamLeader;
    }
    public void setTeamLeaderName(String teamLeaderName) 
    {
        this.teamLeaderName = teamLeaderName;
    }

    public String getTeamLeaderName() 
    {
        return teamLeaderName;
    }

    public Integer getCount() {
        return count;
    }

    public void setCount(Integer count) {
        this.count = count;
    }

    public String getWorkStatus() {
        return workStatus;
    }

    public void setWorkStatus(String workStatus) {
        this.workStatus = workStatus;
    }

    public String getMesNo() {
        return mesNo;
    }

    public void setMesNo(String mesNo) {
        this.mesNo = mesNo;
    }

    public String getCustomerProducts() {
        return customerProducts;
    }

    public void setCustomerProducts(String customerProducts) {
        this.customerProducts = customerProducts;
    }

    public Date getCustomerDate() {
        return customerDate;
    }

    public void setCustomerDate(Date customerDate) {
        this.customerDate = customerDate;
    }

    public Date getStartTime_Schedule() {
        return StartTime_Schedule;
    }

    public void setStartTime_Schedule(Date startTime_Schedule) {
        StartTime_Schedule = startTime_Schedule;
    }

    public Date getEndTime_Schedule() {
        return EndTime_Schedule;
    }

    public void setEndTime_Schedule(Date endTime_Schedule) {
        EndTime_Schedule = endTime_Schedule;
    }

    public Date getStartTime_Actual() {
        return StartTime_Actual;
    }

    public void setStartTime_Actual(Date startTime_Actual) {
        StartTime_Actual = startTime_Actual;
    }

    public Date getEndTime_Actual() {
        return EndTime_Actual;
    }

    public void setEndTime_Actual(Date endTime_Actual) {
        EndTime_Actual = endTime_Actual;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("orderNo", getOrderNo())
            .append("orderLine", getOrderLine())
            .append("goodNo", getGoodNo())
            .append("goodName", getGoodName())
            .append("category", getCategory())
            .append("workLine", getWorkLine())
            .append("workName", getWorkName())
            .append("workNum", getWorkNum())
            .append("operationNo", getOperationNo())
            .append("operationName", getOperationName())
            .append("teamName", getTeamName())
            .append("teamLeader", getTeamLeader())
            .append("teamLeaderName", getTeamLeaderName())
            .append("createTime", getCreateTime())
            .append("updateTime", getUpdateTime())
            .append("StartTime_Schedule", getStartTime_Schedule())
            .append("EndTime_Schedule", getEndTime_Schedule())
            .append("StartTime_Actual", getStartTime_Actual())
            .append("EndTime_Actual", getEndTime_Actual())
            .toString();
    }
}
